import { createRouter, createWebHashHistory } from "vue-router"

const routes = [{
    path: '/',
    name: 'home',
    component: () => import('@/views/home/index.vue')
}, {
    path: '/chat',
    name: 'chat',
    component: () => import('@/views/chat/index.jsx')
}, {
    path: '/live',
    name: 'live',
    component: () => import('@/views/live/index.vue')
}]

const router = createRouter({
    history: createWebHashHistory(),
    routes,
})

export default router
